#include "myclient.h"

int main(){
    Client myclient("127.0.0.1",10004,1024);
    myclient.hook();
    while(1){
        char panel[1024];
        cin>>panel;
        myclient.push_raw(panel,strlen(panel));
        cout<<myclient.rev_toStr()<<endl;
    }
    return false;
}